package com.data.modules.smzh.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.data.modules.smzh.entity.Building;
import com.data.modules.smzh.mapper.BuildingMapper;
import com.data.modules.smzh.service.IBuildingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 建筑资产表
 * @Author: data-boot
 * @Date:   2022-11-26
 * @Version: V1.0
 */
@Service
public class BuildingServiceImpl extends ServiceImpl<BuildingMapper, Building> implements IBuildingService {

    @Autowired
    private BuildingMapper buildingMapper;
    @Override
    public List<Building> queryBuildUnitList(LambdaQueryWrapper<Building> wrapper) {

        return buildingMapper.selectList(wrapper);
    }
}
